package com.meal.entity.model.wx;

import lombok.Data;

import java.util.Map;

/**
 * @program: yzh->VoiceResponse
 * @description: VoiceResponse
 * @author: yangzhanghui
 * @create: 2019-09-10 13:07
 **/
@Data
public class VoiceResponse extends BaseResponse {

    public VoiceResponse(Map<String, String> requMap, Voice voice){
        super(requMap);
        this.setMsgType("voice");
        this.Voice = voice;
    }
    // 语音
    private Voice Voice;

    /**
     * User:Jiahengfei --> 17515250730@163.com
     * create by 2018年4月28日 from Eclipse.
     * describe:语音信息模型
     */
    @Data
    public class Voice {
        // 媒体文件id
        private String MediaId;
    }
}